gl renderer: Move texture labeling below initialization
authorTimm Bäder <mail@baedert.org>
Sat, 27 Apr 2019 07:50:21 +0000 (09:50 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 27 Apr 2019 08:44:37 +0000 (10:44 +0200)
commit931b0b3752367a0651ad94d6ac0e2a1571012d2d
tree56d835d7b8efb4d5e6dac068cf2e2b89353df208
parent6f3e6083314b39d759871e59212ce41ea64c173b
gl renderer: Move texture labeling below initialization

Apparently genTextures and friends only "reserves names", initializing
them will actually create them. Using glObjectLabel on textures before
initializing them will throw a GL_INVALID_VALUE error.
gsk/gl/gskgldriver.c
gsk/gl/gskglrenderer.c